import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import * as ajax from "@/utils/ajax"
import {Button,Image as VanImage,Toast,Icon,Tab,Tabs,PullRefresh,List,Form ,Field,CellGroup,NavBar,Cell,CountDown  } from 'vant'
import "../public/css/reset.css";
import "../public/css/main.css";

Vue.config.productionTip = false

Vue.use(Button)
Vue.use(VanImage)
Vue.use(Toast)
Vue.use(Icon)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(PullRefresh)
Vue.use(List)
Vue.use(Form)
Vue.use(Field)
Vue.use(CellGroup)
Vue.use(NavBar)
Vue.use(Cell)
Vue.use(CountDown )

Vue.prototype.$ajax = ajax

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
